package com.qys.livesMall.anchor.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 直播礼物表
 * </p>
 *
 * @author wzy
 * @since 2023-06-21
 */
@Getter
@Setter
@TableName("h2_anchor_lives_gift")
@Schema(name = "AnchorLivesGift", description = "直播礼物表")
public class AnchorLivesGift implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "直播礼物编号")
    @TableId(value = "id")
    private Long id;

    @Schema(description = "礼物名（不超过36字符）")
    private String giftName;

    @Schema(description = "礼物图标")
    private String giftIcon;

    @Schema(description = "礼物特效")
    private String giftStyle;

    @Schema(description = "金币单价")
    private BigDecimal giftGold;

    @Schema(description = "状态：0:正常  1：关闭")
    private Byte status;

    @Schema(description = "是否被删除 0 未删除 1 已删除")
    @TableLogic
    private Byte deleted;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "更新者")
    private String updateBy;
}
